import request from '@/utils/request'
// -------- 咨询定价  --------
let BASE_ADDRESS = '/financial/priceConsult'
// 分页查询

export const getPriceConsultListApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: 'get',
        params: data
    })
}


// 修改
export const getPriceConsultEditApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/edit`,
        method: 'put',
        data
    })
}
// 删除
export const getPriceConsultStatusApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/remove`,
        method: 'delete',
        data
    })
}

//id查询
export const getPriceConsultGetInfoApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/getInfo`,
        method: 'get',
        params: data
    })
}


//添加
export const getPriceConsultAddApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/add`,
        method: 'post',
        data
    })
}

